# -*- coding: utf-8 -*-
"""
Created on Mon Jun  3 11:01:29 2024

@author: Administrator
"""
#(1)
def is_prime(num):
    if num <= 1:
        return False
    for i in range(2, int(num**0.5) + 1):
        if num % i == 0:
            return False
        return True
result = is_prime(5)
print("5是否为素数:",result)


#(2)

